package fun.chutianshu.eescore_03_web_api.controller;

import org.springframework.stereotype.Controller;

import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;



@Controller
public class HomeController {
    @GetMapping("/")
    public String index(ModelMap map) {
        map.addAttribute("msg1", "Hello World");
        return "index";
    }



}
